/*
 * Copyright：fxsen <br/>
 * Date: 2022/1/20 10:42 <br/>
 * Email:fxsen@foxmail.com
 * Author: fxsen
 */
package com.fxsen.commons.sysmanager.core.service.impl;

import com.fxsen.commons.core.base.common.service.impl.CommonServiceImpl;
import com.fxsen.commons.sysmanager.core.entity.RolePermission;
import com.fxsen.commons.sysmanager.core.mapper.RolePermissionMapper;
import com.fxsen.commons.sysmanager.core.service.IRolePermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @describe: 角色权限服务接口实现
 * @date: 2022/1/20 10:42
 * @author: fxsen
 */
@Service
public class RolePermissionServiceImpl extends CommonServiceImpl<RolePermissionMapper,RolePermission> implements IRolePermissionService {
    @Autowired
    private RolePermissionMapper mapper;

    @Override
    public List<RolePermission> findByRoleId(String roleId) {
        return mapper.findByRoleId(roleId);
    }
}
